package dao;

import model.Many;

public class ManyDAO extends DAO{
    public Many getManyById(int id) {
        Many many = null;
        try {
            many = (Many)getSession().load(Many.class, id);
        }
        catch (Exception e) {
            System.out.println(e);
        }
        finally {
            close();
        }
        return many;
    }

}
